Skip to content

Fixing jquery execution of the script#329

Open
borellvi wants to merge 1 commit intocodebar:gh-pagesfrom
borellvi:gh-pages
Open

Fixing jquery execution of the script#329
borellvi wants to merge 1 commit intocodebar:gh-pagesfrom
borellvi:gh-pages

Conversation

@borellvi
Copy link

We were asking our students to manipulate DOM elements in a script inside the header with jQuery, which got loaded before the DOM was created so the exercise couldn't be done.

This PR fixes the problem adding the script to the body which gets executed after the HTML gets rendered.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant